import{d as f,aQ as p,b as i,o as n,a as _,c,e as o,t as a,u as e,w as m,f as r,g,B as s,F as d}from"./DrFvzlh8agutd.js";import{s as k,_ as $}from"./DoAjPX943NQils.js";import{_ as S}from"./BfQegiIr3PfrX1.js";import{_ as l}from"./JLTbM6jQPQMM7.js";import"./MpnPZlTSagutd.js";import"./CZ0h8Jpj3Xa3MT.js";import"./sf48gIWk3aD96J.js";const B={key:0},M=f({__name:"app-settings-moneymoney",setup(C){const y=p();return(t,N)=>(n(),i(d,null,[_("h3",null,a(t.$t("settings.moneymoney.title")),1),e(y)?(n(),c(e(l),{key:0,title:t.$t("settings.moneymoney.syncActionTitle")},{default:m(({id:u})=>[r(e(S),{onClick:e(k)},{default:m(()=>[g(a(t.$t("settings.moneymoney.syncNow")),1)]),_:1},8,["onClick"]),e(s).mmLastSync?(n(),i("p",B,a(t.$t("settings.moneymoney.lastSync",[new Date(e(s).mmLastSync).toLocaleString()])),1)):o("",!0)]),_:1},8,["title"])):o("",!0),e(s)?.mmAccounts?(n(),c(e(l),{key:1,title:t.$t("settings.moneymoney.syncAccounts")},{default:m(({id:u})=>[r($,{config:e(s)},null,8,["config"])]),_:1},8,["title"])):o("",!0)],64))}});export{M as default};